package com.demoworld.controllers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class IndexController {
    @RequestMapping("Index")
    public String get() {
        return "hi";
    }

    @RequestMapping("hi")
    public String get1() {
        return "hi no";
    }
}
